<template>
	<view>
		<button @click="login('1')">超管登陆</button>
		<button @click="login('2')">商户登陆</button>
		<button @click="login('3')">普通用户登陆</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			login(type) {
				uni.reLaunch({
					url: '/pages/defalutStart/defalutStart'
				});
				uni.setStorageSync('isLogin', type)
				uni.hideTabBar()
			}
		}
	}
</script>

<style>

</style>